﻿<div class="filtersContainer Window">
    <h3 data-bind="text: Application.Resources.Views.Dfnw.Dialogs.Filter">Massnahme Filter</h3>
    <div class="leftcolumn">
        <div class="tap-space">
            <div data-bind="text: Application.Resources.Views.Others.From">Von</div>
            <div id="UhrzeitVonDate" data-bind="datetimepicker: filter.UhrzeitVon, datetimepickerOptions: { pickTime: false }">
                <input class="von-input border-brown" data-format="yyyy-MM-dd" type="text" />
                <span class="add-on input-append date">
                    <i data-time-icon="fa fa-clock-o" data-date-icon="fa fa-calendar"></i>
                </span>
            </div>
            <div id="UhrzeitVonZeit" class="input-append" data-bind="datetimepicker: filter.UhrzeitVon, datetimepickerOptions: { pickDate: false }">
                <input class="von-input border-brown" data-format="hh:mm" type="text" />
                <span class="add-on">
                    <i data-time-icon="fa fa-clock-o" data-date-icon="fa fa-calendar"></i>
                </span>
            </div>
        </div>
        <div class="tap-space">
            <span data-bind="validationMessage: filter.UhrzeitVon"></span>
        </div>
        <div class="tap-space">
            <label for="UhrzeitBis" class="label medium2" data-bind="text: Application.Resources.Views.Others.Until">Bis</label>
            <div id="UhrzeitBis" class="input-append" data-bind="datetimepicker: filter.UhrzeitBis, datetimepickerOptions: { pickDate: false }">
                <input class="von-input border-brown" data-format="hh:mm" type="text" />
                <span class="add-on">
                    <i data-time-icon="fa fa-clock-o" data-date-icon="fa fa-calendar"></i>
                </span>
            </div>
        </div>
        <div class="tap-space">
            <span data-bind="validationMessage: filter.UhrzeitBis"></span>
        </div>
        <div class="tap-space">
            <label for="LeistungsgruppeID" class="spanBr" data-bind="text: Application.Resources.Views.Dfnw.Leistungsgruppe">Leistungsgruppe</label>
            <label class="SelectLabel">
                <select data-bind="options: leistungsgruppes, value: filter.LeistungsgruppeID, optionsText: 'Text', optionsValue: 'Id'" id="LeistungsgruppeID"></select>
            </label>
        </div>
        <div class="tap-space">
            <label for="LeistungID" class="spanBr" data-bind="text: Application.Resources.Views.Dfnw.Leistung">Leistung</label>
            <label class="SelectLabel">
                <select data-bind="options: leistungs, value: filter.LeistungID, optionsText: 'Text', optionsValue: 'Id'" id="LeistungID"></select>
            </label>
        </div>
        <div class="tap-space">
            <label for="StatusID" class="spanBr" data-bind="text: Application.Resources.Views.Dfnw.Status">Status</label>
            <label class="SelectLabel">
                <select data-bind="options: statuses, value: filter.StatusID, optionsText: 'Text', optionsValue: 'Id'" id="StatusID"></select>
            </label>
        </div>
    </div>
    <div class="rightcolumn">
        <div class="one-in-row" data-bind="text: Application.Resources.Views.Dfnw.Massnahmen">
            Massnahmen:
        </div>
        <div>
            <span class="textButton" data-bind="click: filterAll, text: Application.Resources.Views.Dfnw.FilterAll">All</span>
            |
            <span class="textButton" data-bind="click: filterNone, text: Application.Resources.Views.Dfnw.FilterNone">None</span>
        </div>
        <div class="styledCheckbox">
            <input type="checkbox" id="Geplante" data-bind="checked: filter.Geplante" /><label for="Geplante" data-bind="    text: Application.Resources.Views.Dfnw.Geplante">Geplante Maßnahmen</label><br />
            <input type="checkbox" id="Zusatz" data-bind="checked: filter.Zusatz" /><label for="Zusatz" data-bind="    text: Application.Resources.Views.Dfnw.Zusatz">Zusatzmaßnahmen</label><br />
            <input type="checkbox" id="Einzelfall" data-bind="checked: filter.Einzelfall" /><label for="Einzelfall" data-bind="    text: Application.Resources.Views.Dfnw.Einzelfall">Einzelfallmaßnahmen</label><br />
            <input type="checkbox" id="Freiheit" data-bind="checked: filter.Freiheit" /><label for="Freiheit" data-bind="    text: Application.Resources.Views.Dfnw.Freiheit">Freiheitsbeschränkungen</label><br />
            <input type="checkbox" id="Medikament" data-bind="checked: filter.Medikament" /><label for="Medikament" data-bind="    text: Application.Resources.Views.Dfnw.Medikamente">Medikamente</label><br />
            <input type="checkbox" id="Einzelfallmedikament" data-bind="checked: filter.Einzelfallmedikament" /><label for="Einzelfallmedikament" data-bind="    text: Application.Resources.Views.Dfnw.Einzelfallmedikamente">Einzelfallmedikamente</label><br />
            <input type="checkbox" id="Aufsicht" data-bind="checked: filter.Aufsicht" /><label for="Aufsicht" data-bind="    text: Application.Resources.Views.Dfnw.Aufsicht">Anordnung/Aufsicht</label><br />
            <input type="checkbox" id="Behandlungsauftrag" data-bind="checked: filter.Behandlungsauftrag" /><label for="Behandlungsauftrag" data-bind="    text: Application.Resources.Views.Dfnw.Behandl">Behandlungsauftrag</label><br />
            <input type="checkbox" id="EinzelfallBehandlungsauftrag" data-bind="checked: filter.EinzelfallBehandlungsauftrag" /><label for="EinzelfallBehandlungsauftrag" data-bind="    text: Application.Resources.Views.Dfnw.Einzelfallbehandl">Einzelfallbehandlungsauftrag</label><br />
            <input type="checkbox" id="Termin" data-bind="checked: filter.Termin" /><label for="Termin" data-bind="text: Application.Resources.Views.Dfnw.Termin">Termin</label>
            <br />
        </div>
    </div>
    <div class="footer">
        <div data-bind="click: filterClick, text: Application.Resources.Views.Dfnw.Erfrischen"><span class="icon"></span>Erfrischen</div>
        <div data-bind="click: closeClick, text: Application.Resources.Views.Dfnw.Abbrechen"><span class="icon"></span>Abbrechen</div>
    </div>
</div>